"""
列表排序
"""
nums = ['1', '5', '2', '10', '21', '3']
nums.sort(key=int)
print(nums)
